#ifndef BASE_INCLUDE_FILE_CONF_H
#define BASE_INCLUDE_FILE_CONF_H

//---------------------------------------------------------
// pre-defined macros
//---------------------------------------------------------
#define LITTLE_ENDIAN

#ifndef LITTLE_ENDIAN
#	define BIG_ENDIAN
#endif

#if defined(_MSC_VER)
#define TLSDATA	__declspec(thread)
#elif defined(_GCC)
#define TLSDATA	__thread
#endif

//---------------------------------------------------------
// before VS2010, VS hasn't stdint.h file.
//---------------------------------------------------------
#if defined(_MSC_VER) && (_MSC_VER < 1600)
	typedef signed __int8		int8_t;
	typedef signed __int16		int16_t;
	typedef signed __int32		int32_t;
	typedef signed __int64		int64_t;
	typedef unsigned __int8		uint8_t;
	typedef unsigned __int16	uint16_t;
	typedef unsigned __int32	uint32_t;
	typedef unsigned __int64	uint64_t;
#else
#	include <stdint.h>
#endif

//---------------------------------------------------------
// other general types.
//---------------------------------------------------------
	typedef bool				bool_t;
	typedef float				float32_t;
	typedef double				float64_t;

//---------------------------------------------------------
#endif	//#ifndef BASE_INCLUDE_FILE_CONF_H


